package cn.zwx.distributed.svc.domain.enums;

import cn.zwx.distributed.svc.utils.ValuedEnum;

public enum WorkerNodeTypeEnum  implements ValuedEnum<Integer> {
    /**
     *  CONTAINER
     */
    CONTAINER(1),
    ACTUAL(2);

    /**
     * Lock type
     */
    private final Integer type;

    /**
     * Constructor with field of type
     */
    private WorkerNodeTypeEnum(Integer type) {
        this.type = type;
    }

    @Override
    public Integer value() {
        return type;
    }
}
